<?php

class Persion {
    public $name = 'noName';
    public function __construct($name='noName')
    {
        $this->name=$name;
        print_r($this);
    }
}

$lisi = new Persion('lisi');
echo '<hr>';
$zhangsan = new Persion('zhangsan');
